using System.Collections;

namespace ctsu.BaseForms
{
	public class FormGridMeta
	{
		private string _gridName;
		private string _tableName;
		private string _orderField = "";
		private string _select;
		private string _foreignField = "";
		private string _gridColumnMetaTable;
		private string _businessLogicClassName;
		private bool _isRequired = false;
		private Hashtable _gridColumns;
		private ArrayList _gridColumnsOrdered;

		public bool IsRequired
		{
			get { return this._isRequired; }
			set { this._isRequired = value; }
		}

		public string OrderField
		{
			get { return _orderField; }
			set { _orderField = value; }
		}

		public string GridName
		{
			get { return _gridName; }
			set { _gridName = value; }
		}

		public string TableName
		{
			get { return _tableName; }
			set { _tableName = value; }
		}
		public string SelectCommand
		{
			get { return _select; }
			set { _select = value; }
		}

		public string ForeignField
		{
			get { return _foreignField; }
			set { _foreignField = value; }
		}
		public string GridColumnMetaTable
		{
			get { return _gridColumnMetaTable; }
			set { _gridColumnMetaTable = value; }
		}
		public string BusinessLogicClassName
		{
			get { return _businessLogicClassName; }
			set { _businessLogicClassName = value; }
		}
		public Hashtable GridColumns
		{
			get { return _gridColumns; }
			set { _gridColumns = value; }
		}

		public ArrayList GridColumnsOrdered
		{
			get { return _gridColumnsOrdered; }
			set { _gridColumnsOrdered = value; }
		}

		public FormGridMeta()
		{

		}
	}
}
